import config from "@/config"
import http from "@/utils/request"

export default {
	accountLogin: {
		url: `${config.API_URL}/system/accountLogin`,
		name: "账户登录",
		post: async function(data={}){
			return await http.post(this.url, data);
		}
	},
	register: {
		url: `${config.API_URL}/system/register`,
		name: "注册新用户",
		post: async function(data={}){
			return await http.post(this.url, data);
		}
	}
}
